package cn.tedu.csms.attendance.service.impl;

import cn.tedu.csms.attendance.mapper.AttendanceMapper;
import cn.tedu.csms.attendance.pojo.dto.AttendanceQuery;
import cn.tedu.csms.attendance.pojo.vo.AttendanceVO;
import cn.tedu.csms.attendance.service.AttendanceService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
@Slf4j
public class AttendanceServiceImpl implements AttendanceService {
    @Autowired
    AttendanceMapper attendanceMapper;
    @Override
    public List<AttendanceVO> select(AttendanceQuery attendanceQuery) {
        log.debug("查询考勤信息业务，参数={}", attendanceQuery);
        List<AttendanceVO> list=attendanceMapper.select(attendanceQuery);
        return list;
    }
}
